﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace FrbaHotel
{
    public class ConexionDb
    {
        public static SqlConnection obtenerConexion()
        {
            SqlConnection Conn = new SqlConnection(@"Data source=(local)\SQLSERVER2008;Initial Catalog = GD2C2014;User ID=gd;Password=gd2014");
            Conn.Open();
            System.Console.WriteLine("Conexion exitosa");
            return Conn;

        }

    }
}
